/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * StartupCompanyManager2012gameCreator.java
 *
 * Created on 16.12.2011, 17:59:28
 */
package startupcompanymanager2012;

import javax.swing.DefaultComboBoxModel;
import javax.swing.JFrame;
import javax.swing.JOptionPane;

/**
 *
 * @author Matthäus
 */
public class StartupCompanyManager2012gameCreator extends javax.swing.JFrame {

    private Genre genre;
    private Type type;
    private Focus focus;
    private String name;
    private Platform platform;
    private Language language;
    public static Developer dev;
    private int lines = 0;
    private double cost = 0;

    /** Creates new form StartupCompanyManager2012gameCreator */
    public StartupCompanyManager2012gameCreator() {
        initComponents();
        Core.calendarTimer.stop();
        comboBoxGenre.setModel(new DefaultComboBoxModel(Game.genres.toArray()));
        comboBoxType.setModel(new DefaultComboBoxModel(Game.types.toArray()));
        comboBoxFocus.setModel(new DefaultComboBoxModel(Game.focuses.toArray()));
        platformButtonPC.setSelected(true);
        languageButtonFlash.setSelected(true);
        programmerSelectionBox.setModel(new DefaultComboBoxModel(Core.devs.toArray()));
        updateProperties();
        gameCost.setText(Core.nfmt.format(cost));

    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        languageGroup = new javax.swing.ButtonGroup();
        systemGroup = new javax.swing.ButtonGroup();
        gameCreatorPanel = new javax.swing.JPanel();
        propertiesPanel = new javax.swing.JPanel();
        labelName = new javax.swing.JLabel();
        gameName = new javax.swing.JTextField();
        labeGenre = new javax.swing.JLabel();
        comboBoxGenre = new javax.swing.JComboBox();
        labelType = new javax.swing.JLabel();
        comboBoxType = new javax.swing.JComboBox();
        labelFocus = new javax.swing.JLabel();
        comboBoxFocus = new javax.swing.JComboBox();
        resourcePanel = new javax.swing.JPanel();
        labelBudget = new javax.swing.JLabel();
        liveBudget = new javax.swing.JLabel();
        linesGame = new javax.swing.JLabel();
        labelLines = new javax.swing.JLabel();
        labelCost = new javax.swing.JLabel();
        gameCost = new javax.swing.JLabel();
        languagePanel = new javax.swing.JPanel();
        languageButtonFlash = new javax.swing.JRadioButton();
        languageButtonPHP = new javax.swing.JRadioButton();
        languageButtonJava = new javax.swing.JRadioButton();
        languageButtonC = new javax.swing.JRadioButton();
        languageButtonCPlus = new javax.swing.JRadioButton();
        languageButtonRuby = new javax.swing.JRadioButton();
        languageButtonPerl = new javax.swing.JRadioButton();
        languageButtonPython = new javax.swing.JRadioButton();
        languageButtonVisualB = new javax.swing.JRadioButton();
        platformPanel = new javax.swing.JPanel();
        platformButtonPC = new javax.swing.JRadioButton();
        platformButtonUnix = new javax.swing.JRadioButton();
        platformButtonSony = new javax.swing.JRadioButton();
        platformButtonMac = new javax.swing.JRadioButton();
        platformButtonUniversal = new javax.swing.JRadioButton();
        platformButtonAndroid = new javax.swing.JRadioButton();
        platformButtoniOS = new javax.swing.JRadioButton();
        platformButtonXbox = new javax.swing.JRadioButton();
        platformButtonNintendo = new javax.swing.JRadioButton();
        addButton = new javax.swing.JButton();
        cancelButton = new javax.swing.JButton();
        programmerSelectionBox = new javax.swing.JComboBox();
        labelProgrammer = new javax.swing.JLabel();
        creatorSeparator = new javax.swing.JSeparator();
        gameListPane = new javax.swing.JScrollPane();
        gameList = new javax.swing.JList();
        devButton = new javax.swing.JButton();
        infoButton = new javax.swing.JButton();

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
        org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application.getInstance(startupcompanymanager2012.StartupCompanyManager2012App.class).getContext().getResourceMap(StartupCompanyManager2012gameCreator.class);
        setTitle(resourceMap.getString("Form.title")); // NOI18N
        setBackground(resourceMap.getColor("Form.background")); // NOI18N
        setName("Form"); // NOI18N
        setResizable(false);

        gameCreatorPanel.setBackground(resourceMap.getColor("gameCreatorPanel.background")); // NOI18N
        gameCreatorPanel.setMaximumSize(new java.awt.Dimension(549, 405));
        gameCreatorPanel.setName("gameCreatorPanel"); // NOI18N

        propertiesPanel.setBackground(resourceMap.getColor("propertiesPanel.background")); // NOI18N
        propertiesPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createTitledBorder(""), resourceMap.getString("propertiesPanel.border.title"), javax.swing.border.TitledBorder.CENTER, javax.swing.border.TitledBorder.BELOW_TOP, resourceMap.getFont("propertiesPanel.border.titleFont"))); // NOI18N
        propertiesPanel.setName("propertiesPanel"); // NOI18N

        labelName.setBackground(resourceMap.getColor("labelName.background")); // NOI18N
        labelName.setText(resourceMap.getString("labelName.text")); // NOI18N
        labelName.setName("labelName"); // NOI18N

        gameName.setBackground(resourceMap.getColor("gameName.background")); // NOI18N
        gameName.setText(resourceMap.getString("gameName.text")); // NOI18N
        gameName.setName("gameName"); // NOI18N

        labeGenre.setBackground(resourceMap.getColor("labeGenre.background")); // NOI18N
        labeGenre.setText(resourceMap.getString("labeGenre.text")); // NOI18N
        labeGenre.setName("labeGenre"); // NOI18N

        comboBoxGenre.setBackground(resourceMap.getColor("comboBoxGenre.background")); // NOI18N
        comboBoxGenre.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));
        comboBoxGenre.setName("comboBoxGenre"); // NOI18N
        comboBoxGenre.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                setGenre(evt);
            }
        });

        labelType.setBackground(resourceMap.getColor("labelType.background")); // NOI18N
        labelType.setText(resourceMap.getString("labelType.text")); // NOI18N
        labelType.setName("labelType"); // NOI18N

        comboBoxType.setBackground(resourceMap.getColor("comboBoxType.background")); // NOI18N
        comboBoxType.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));
        comboBoxType.setName("comboBoxType"); // NOI18N
        comboBoxType.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                setType(evt);
            }
        });

        labelFocus.setBackground(resourceMap.getColor("labelFocus.background")); // NOI18N
        labelFocus.setText(resourceMap.getString("labelFocus.text")); // NOI18N
        labelFocus.setName("labelFocus"); // NOI18N

        comboBoxFocus.setBackground(resourceMap.getColor("comboBoxFocus.background")); // NOI18N
        comboBoxFocus.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));
        comboBoxFocus.setName("comboBoxFocus"); // NOI18N
        comboBoxFocus.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                setFocus(evt);
            }
        });

        javax.swing.GroupLayout propertiesPanelLayout = new javax.swing.GroupLayout(propertiesPanel);
        propertiesPanel.setLayout(propertiesPanelLayout);
        propertiesPanelLayout.setHorizontalGroup(
            propertiesPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(propertiesPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(propertiesPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(comboBoxType, 0, 191, Short.MAX_VALUE)
                    .addComponent(labelName)
                    .addComponent(gameName, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 191, Short.MAX_VALUE)
                    .addComponent(labeGenre)
                    .addComponent(comboBoxGenre, 0, 191, Short.MAX_VALUE)
                    .addComponent(labelType)
                    .addComponent(labelFocus)
                    .addComponent(comboBoxFocus, 0, 191, Short.MAX_VALUE))
                .addContainerGap())
        );
        propertiesPanelLayout.setVerticalGroup(
            propertiesPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(propertiesPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(labelName)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(gameName, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addComponent(labeGenre)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(comboBoxGenre, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addComponent(labelType)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(comboBoxType, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addComponent(labelFocus)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(comboBoxFocus, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(34, Short.MAX_VALUE))
        );

        resourcePanel.setBackground(resourceMap.getColor("resourcePanel.background")); // NOI18N
        resourcePanel.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
        resourcePanel.setMaximumSize(new java.awt.Dimension(529, 49));
        resourcePanel.setName("resourcePanel"); // NOI18N
        resourcePanel.setPreferredSize(new java.awt.Dimension(519, 49));

        labelBudget.setBackground(resourceMap.getColor("labelBudget.background")); // NOI18N
        labelBudget.setText(resourceMap.getString("labelBudget.text")); // NOI18N
        labelBudget.setName("labelBudget"); // NOI18N

        liveBudget.setBackground(resourceMap.getColor("liveBudget.background")); // NOI18N
        liveBudget.setText(resourceMap.getString("liveBudget.text")); // NOI18N
        liveBudget.setName("liveBudget"); // NOI18N

        linesGame.setBackground(resourceMap.getColor("linesGame.background")); // NOI18N
        linesGame.setText(resourceMap.getString("linesGame.text")); // NOI18N
        linesGame.setName("linesGame"); // NOI18N

        labelLines.setBackground(resourceMap.getColor("labelLines.background")); // NOI18N
        labelLines.setText(resourceMap.getString("labelLines.text")); // NOI18N
        labelLines.setName("labelLines"); // NOI18N

        labelCost.setBackground(resourceMap.getColor("labelCost.background")); // NOI18N
        labelCost.setText(resourceMap.getString("labelCost.text")); // NOI18N
        labelCost.setName("labelCost"); // NOI18N

        gameCost.setBackground(resourceMap.getColor("gameCost.background")); // NOI18N
        gameCost.setText(resourceMap.getString("gameCost.text")); // NOI18N
        gameCost.setName("gameCost"); // NOI18N

        javax.swing.GroupLayout resourcePanelLayout = new javax.swing.GroupLayout(resourcePanel);
        resourcePanel.setLayout(resourcePanelLayout);
        resourcePanelLayout.setHorizontalGroup(
            resourcePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(resourcePanelLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(labelBudget)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(liveBudget)
                .addGap(87, 87, 87)
                .addComponent(labelCost)
                .addGap(18, 18, 18)
                .addComponent(gameCost)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 78, Short.MAX_VALUE)
                .addComponent(labelLines)
                .addGap(18, 18, 18)
                .addComponent(linesGame)
                .addGap(32, 32, 32))
        );
        resourcePanelLayout.setVerticalGroup(
            resourcePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, resourcePanelLayout.createSequentialGroup()
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addGroup(resourcePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(labelBudget)
                    .addComponent(liveBudget)
                    .addComponent(linesGame)
                    .addComponent(labelCost)
                    .addComponent(gameCost)
                    .addComponent(labelLines))
                .addContainerGap())
        );

        languagePanel.setBackground(resourceMap.getColor("languagePanel.background")); // NOI18N
        languagePanel.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createTitledBorder(""), resourceMap.getString("languagePanel.border.title"), javax.swing.border.TitledBorder.CENTER, javax.swing.border.TitledBorder.BELOW_TOP, resourceMap.getFont("languagePanel.border.titleFont"))); // NOI18N
        languagePanel.setName("languagePanel"); // NOI18N

        languageButtonFlash.setBackground(resourceMap.getColor("languageButtonVisualB.background")); // NOI18N
        languageGroup.add(languageButtonFlash);
        languageButtonFlash.setText(resourceMap.getString("languageButtonFlash.text")); // NOI18N
        languageButtonFlash.setName("languageButtonFlash"); // NOI18N
        languageButtonFlash.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                setLanguage(evt);
            }
        });

        languageButtonPHP.setBackground(resourceMap.getColor("languageButtonVisualB.background")); // NOI18N
        languageGroup.add(languageButtonPHP);
        languageButtonPHP.setText(resourceMap.getString("languageButtonPHP.text")); // NOI18N
        languageButtonPHP.setName("languageButtonPHP"); // NOI18N
        languageButtonPHP.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                setLanguage(evt);
            }
        });

        languageButtonJava.setBackground(resourceMap.getColor("languageButtonVisualB.background")); // NOI18N
        languageGroup.add(languageButtonJava);
        languageButtonJava.setText(resourceMap.getString("languageButtonJava.text")); // NOI18N
        languageButtonJava.setName("languageButtonJava"); // NOI18N
        languageButtonJava.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                setLanguage(evt);
            }
        });

        languageButtonC.setBackground(resourceMap.getColor("languageButtonVisualB.background")); // NOI18N
        languageGroup.add(languageButtonC);
        languageButtonC.setText(resourceMap.getString("languageButtonC.text")); // NOI18N
        languageButtonC.setName("languageButtonC"); // NOI18N
        languageButtonC.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                setLanguage(evt);
            }
        });

        languageButtonCPlus.setBackground(resourceMap.getColor("languageButtonVisualB.background")); // NOI18N
        languageGroup.add(languageButtonCPlus);
        languageButtonCPlus.setText(resourceMap.getString("languageButtonCPlus.text")); // NOI18N
        languageButtonCPlus.setName("languageButtonCPlus"); // NOI18N
        languageButtonCPlus.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                setLanguage(evt);
            }
        });

        languageButtonRuby.setBackground(resourceMap.getColor("languageButtonVisualB.background")); // NOI18N
        languageGroup.add(languageButtonRuby);
        languageButtonRuby.setText(resourceMap.getString("languageButtonRuby.text")); // NOI18N
        languageButtonRuby.setEnabled(false);
        languageButtonRuby.setName("languageButtonRuby"); // NOI18N
        languageButtonRuby.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                setLanguage(evt);
            }
        });

        languageButtonPerl.setBackground(resourceMap.getColor("languageButtonVisualB.background")); // NOI18N
        languageGroup.add(languageButtonPerl);
        languageButtonPerl.setText(resourceMap.getString("languageButtonPerl.text")); // NOI18N
        languageButtonPerl.setEnabled(false);
        languageButtonPerl.setName("languageButtonPerl"); // NOI18N
        languageButtonPerl.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                setLanguage(evt);
            }
        });

        languageButtonPython.setBackground(resourceMap.getColor("languageButtonVisualB.background")); // NOI18N
        languageGroup.add(languageButtonPython);
        languageButtonPython.setText(resourceMap.getString("languageButtonPython.text")); // NOI18N
        languageButtonPython.setEnabled(false);
        languageButtonPython.setName("languageButtonPython"); // NOI18N
        languageButtonPython.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                setLanguage(evt);
            }
        });

        languageButtonVisualB.setBackground(resourceMap.getColor("languageButtonVisualB.background")); // NOI18N
        languageGroup.add(languageButtonVisualB);
        languageButtonVisualB.setText(resourceMap.getString("languageButtonVisualB.text")); // NOI18N
        languageButtonVisualB.setEnabled(false);
        languageButtonVisualB.setName("languageButtonVisualB"); // NOI18N
        languageButtonVisualB.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                setLanguage(evt);
            }
        });

        javax.swing.GroupLayout languagePanelLayout = new javax.swing.GroupLayout(languagePanel);
        languagePanel.setLayout(languagePanelLayout);
        languagePanelLayout.setHorizontalGroup(
            languagePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(languagePanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(languagePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(languageButtonFlash)
                    .addComponent(languageButtonPHP)
                    .addComponent(languageButtonJava))
                .addGap(34, 34, 34)
                .addGroup(languagePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(languageButtonC)
                    .addComponent(languageButtonRuby)
                    .addComponent(languageButtonPerl))
                .addGap(22, 22, 22)
                .addGroup(languagePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(languageButtonCPlus)
                    .addComponent(languageButtonPython)
                    .addComponent(languageButtonVisualB))
                .addContainerGap(11, Short.MAX_VALUE))
        );
        languagePanelLayout.setVerticalGroup(
            languagePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(languagePanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(languagePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(languageButtonFlash)
                    .addComponent(languageButtonC)
                    .addComponent(languageButtonCPlus))
                .addGap(18, 18, 18)
                .addGroup(languagePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(languageButtonPHP)
                    .addComponent(languageButtonRuby)
                    .addComponent(languageButtonPython))
                .addGap(18, 18, 18)
                .addGroup(languagePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(languageButtonJava)
                    .addComponent(languageButtonPerl)
                    .addComponent(languageButtonVisualB))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        platformPanel.setBackground(resourceMap.getColor("platformPanel.background")); // NOI18N
        platformPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createTitledBorder(""), resourceMap.getString("platformPanel.border.title"), javax.swing.border.TitledBorder.CENTER, javax.swing.border.TitledBorder.BELOW_TOP, resourceMap.getFont("platformPanel.border.titleFont"))); // NOI18N
        platformPanel.setName("platformPanel"); // NOI18N

        platformButtonPC.setBackground(resourceMap.getColor("platformButtonPC.background")); // NOI18N
        systemGroup.add(platformButtonPC);
        platformButtonPC.setText(resourceMap.getString("platformButtonPC.text")); // NOI18N
        platformButtonPC.setName("platformButtonPC"); // NOI18N
        platformButtonPC.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                setPlatform(evt);
            }
        });

        platformButtonUnix.setBackground(resourceMap.getColor("platformButtonUnix.background")); // NOI18N
        systemGroup.add(platformButtonUnix);
        platformButtonUnix.setText(resourceMap.getString("platformButtonUnix.text")); // NOI18N
        platformButtonUnix.setEnabled(false);
        platformButtonUnix.setName("platformButtonUnix"); // NOI18N
        platformButtonUnix.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                setPlatform(evt);
            }
        });

        platformButtonSony.setBackground(resourceMap.getColor("platformButtonSony.background")); // NOI18N
        systemGroup.add(platformButtonSony);
        platformButtonSony.setText(resourceMap.getString("platformButtonSony.text")); // NOI18N
        platformButtonSony.setEnabled(false);
        platformButtonSony.setName("platformButtonSony"); // NOI18N
        platformButtonSony.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                setPlatform(evt);
            }
        });

        platformButtonMac.setBackground(resourceMap.getColor("platformButtonMac.background")); // NOI18N
        systemGroup.add(platformButtonMac);
        platformButtonMac.setText(resourceMap.getString("platformButtonMac.text")); // NOI18N
        platformButtonMac.setName("platformButtonMac"); // NOI18N
        platformButtonMac.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                setPlatform(evt);
            }
        });

        platformButtonUniversal.setBackground(resourceMap.getColor("platformButtonUniversal.background")); // NOI18N
        systemGroup.add(platformButtonUniversal);
        platformButtonUniversal.setText(resourceMap.getString("platformButtonUniversal.text")); // NOI18N
        platformButtonUniversal.setName("platformButtonUniversal"); // NOI18N
        platformButtonUniversal.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                setPlatform(evt);
            }
        });

        platformButtonAndroid.setBackground(resourceMap.getColor("platformButtonAndroid.background")); // NOI18N
        systemGroup.add(platformButtonAndroid);
        platformButtonAndroid.setText(resourceMap.getString("platformButtonAndroid.text")); // NOI18N
        platformButtonAndroid.setEnabled(false);
        platformButtonAndroid.setName("platformButtonAndroid"); // NOI18N
        platformButtonAndroid.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                setPlatform(evt);
            }
        });

        platformButtoniOS.setBackground(resourceMap.getColor("platformButtoniOS.background")); // NOI18N
        systemGroup.add(platformButtoniOS);
        platformButtoniOS.setText(resourceMap.getString("platformButtoniOS.text")); // NOI18N
        platformButtoniOS.setEnabled(false);
        platformButtoniOS.setName("platformButtoniOS"); // NOI18N
        platformButtoniOS.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                setPlatform(evt);
            }
        });

        platformButtonXbox.setBackground(resourceMap.getColor("platformButtonXbox.background")); // NOI18N
        systemGroup.add(platformButtonXbox);
        platformButtonXbox.setText(resourceMap.getString("platformButtonXbox.text")); // NOI18N
        platformButtonXbox.setEnabled(false);
        platformButtonXbox.setName("platformButtonXbox"); // NOI18N
        platformButtonXbox.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                setPlatform(evt);
            }
        });

        platformButtonNintendo.setBackground(resourceMap.getColor("platformButtonNintendo.background")); // NOI18N
        systemGroup.add(platformButtonNintendo);
        platformButtonNintendo.setText(resourceMap.getString("platformButtonNintendo.text")); // NOI18N
        platformButtonNintendo.setEnabled(false);
        platformButtonNintendo.setName("platformButtonNintendo"); // NOI18N
        platformButtonNintendo.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                setPlatform(evt);
            }
        });

        javax.swing.GroupLayout platformPanelLayout = new javax.swing.GroupLayout(platformPanel);
        platformPanel.setLayout(platformPanelLayout);
        platformPanelLayout.setHorizontalGroup(
            platformPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(platformPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(platformPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(platformButtonUniversal)
                    .addComponent(platformButtonPC)
                    .addComponent(platformButtonMac))
                .addGap(18, 18, 18)
                .addGroup(platformPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(platformButtonAndroid)
                    .addComponent(platformButtonUnix)
                    .addComponent(platformButtoniOS))
                .addGap(26, 26, 26)
                .addGroup(platformPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(platformButtonSony)
                    .addComponent(platformButtonNintendo)
                    .addComponent(platformButtonXbox))
                .addContainerGap(19, Short.MAX_VALUE))
        );
        platformPanelLayout.setVerticalGroup(
            platformPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(platformPanelLayout.createSequentialGroup()
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addGroup(platformPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(platformButtonPC)
                    .addComponent(platformButtonUnix)
                    .addComponent(platformButtonSony))
                .addGap(18, 18, 18)
                .addGroup(platformPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(platformButtonMac)
                    .addComponent(platformButtonAndroid)
                    .addComponent(platformButtonXbox))
                .addGap(18, 18, 18)
                .addGroup(platformPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(platformButtonUniversal)
                    .addComponent(platformButtoniOS)
                    .addComponent(platformButtonNintendo)))
        );

        addButton.setBackground(resourceMap.getColor("addButton.background")); // NOI18N
        addButton.setText(resourceMap.getString("addButton.text")); // NOI18N
        addButton.setName("addButton"); // NOI18N
        addButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                addGame(evt);
            }
        });

        cancelButton.setBackground(resourceMap.getColor("cancelButton.background")); // NOI18N
        cancelButton.setText(resourceMap.getString("cancelButton.text")); // NOI18N
        cancelButton.setName("cancelButton"); // NOI18N
        cancelButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                disposeFrame(evt);
            }
        });

        programmerSelectionBox.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));
        programmerSelectionBox.setAutoscrolls(true);
        programmerSelectionBox.setName("programmerSelectionBox"); // NOI18N

        labelProgrammer.setFont(resourceMap.getFont("labelProgrammer.font")); // NOI18N
        labelProgrammer.setText(resourceMap.getString("labelProgrammer.text")); // NOI18N
        labelProgrammer.setName("labelProgrammer"); // NOI18N

        creatorSeparator.setName("creatorSeparator"); // NOI18N

        gameListPane.setName("gameListPane"); // NOI18N

        gameList.setModel(new javax.swing.AbstractListModel() {
            String[] strings = { "Item 1", "Item 2", "Item 3", "Item 4", "Item 5" };
            public int getSize() { return strings.length; }
            public Object getElementAt(int i) { return strings[i]; }
        });
        gameList.setName("gameList"); // NOI18N
        gameListPane.setViewportView(gameList);

        devButton.setText(resourceMap.getString("devButton.text")); // NOI18N
        devButton.setName("devButton"); // NOI18N
        devButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                startGameDev(evt);
            }
        });

        infoButton.setText(resourceMap.getString("infoButton.text")); // NOI18N
        infoButton.setName("infoButton"); // NOI18N
        infoButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                showGameInfo(evt);
            }
        });

        javax.swing.GroupLayout gameCreatorPanelLayout = new javax.swing.GroupLayout(gameCreatorPanel);
        gameCreatorPanel.setLayout(gameCreatorPanelLayout);
        gameCreatorPanelLayout.setHorizontalGroup(
            gameCreatorPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(gameCreatorPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(gameCreatorPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(creatorSeparator, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 529, Short.MAX_VALUE)
                    .addGroup(gameCreatorPanelLayout.createSequentialGroup()
                        .addComponent(propertiesPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(gameCreatorPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addComponent(languagePanel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(platformPanel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, gameCreatorPanelLayout.createSequentialGroup()
                        .addComponent(labelProgrammer)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(programmerSelectionBox, 0, 217, Short.MAX_VALUE)
                        .addGap(18, 18, 18)
                        .addComponent(addButton, javax.swing.GroupLayout.PREFERRED_SIZE, 109, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(4, 4, 4)
                        .addComponent(cancelButton, javax.swing.GroupLayout.PREFERRED_SIZE, 112, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(resourcePanel, javax.swing.GroupLayout.PREFERRED_SIZE, 529, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(gameCreatorPanelLayout.createSequentialGroup()
                        .addComponent(gameListPane, javax.swing.GroupLayout.DEFAULT_SIZE, 414, Short.MAX_VALUE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(gameCreatorPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(infoButton, javax.swing.GroupLayout.DEFAULT_SIZE, 109, Short.MAX_VALUE)
                            .addComponent(devButton, javax.swing.GroupLayout.DEFAULT_SIZE, 109, Short.MAX_VALUE))))
                .addContainerGap())
        );
        gameCreatorPanelLayout.setVerticalGroup(
            gameCreatorPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(gameCreatorPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(gameCreatorPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(gameCreatorPanelLayout.createSequentialGroup()
                        .addComponent(languagePanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(platformPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(propertiesPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(resourcePanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(gameCreatorPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(labelProgrammer)
                    .addComponent(cancelButton, javax.swing.GroupLayout.DEFAULT_SIZE, 35, Short.MAX_VALUE)
                    .addComponent(programmerSelectionBox, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(addButton, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(creatorSeparator, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(gameCreatorPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(gameListPane, javax.swing.GroupLayout.PREFERRED_SIZE, 109, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(gameCreatorPanelLayout.createSequentialGroup()
                        .addGap(7, 7, 7)
                        .addComponent(devButton, javax.swing.GroupLayout.PREFERRED_SIZE, 42, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(infoButton, javax.swing.GroupLayout.PREFERRED_SIZE, 41, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap())
        );

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(gameCreatorPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(gameCreatorPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    public void updateProperties() {

        int selectedType = comboBoxType.getSelectedIndex();
        type = Game.types.get(selectedType);

        int selectedGenre = comboBoxGenre.getSelectedIndex();
        genre = Game.genres.get(selectedGenre);

        int selectedFocus = comboBoxFocus.getSelectedIndex();
        focus = Game.focuses.get(selectedFocus);

        selectPlatform();
        selectLanguage();


        cost = (type.getCost() + genre.getCost()) * focus.getCostFactor();
        lines = (int) ((type.getLines() + genre.getLines()) * focus.getLineFactor());

        liveBudget.setText(Core.nfmt.format(Core.capital));
        gameCost.setText(Core.nfmt.format(cost));
        linesGame.setText(Integer.toString(lines));
        gameList.setModel(new DefaultComboBoxModel(Core.games.toArray()));

    }

    private void disposeFrame(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_disposeFrame
        Core.calendarTimer.start();
        dispose();
    }//GEN-LAST:event_disposeFrame

    private void setGenre(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_setGenre
        updateProperties();
    }//GEN-LAST:event_setGenre

    private void addGame(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_addGame

        updateProperties();
        if (Core.devs.get(programmerSelectionBox.getSelectedIndex()).getWorking() == true) {
            JOptionPane.showMessageDialog(null, "The developer you selected is allready working on a project!");

        } else if (gameName.getText().length() == 0) {
            JOptionPane.showMessageDialog(null, "You have to enter a name for your game!");
        } else {

            name = gameName.getText();
            dev = Core.devs.get(programmerSelectionBox.getSelectedIndex());
            Game game = new Game(name, lines, genre, type, focus, language, platform, dev, cost);
            if ((Core.capital - cost) >= 0) {
                Core.capital -= cost;
                Core.games.add(game);
                gameName.setText("");
                comboBoxType.setSelectedIndex(0);
                comboBoxFocus.setSelectedIndex(0);
                comboBoxGenre.setSelectedIndex(0);
                platformButtonPC.setSelected(true);
                languageButtonFlash.setSelected(true);
                programmerSelectionBox.setSelectedIndex(0);
                updateProperties();
                gameList.setSelectedIndex(Core.games.size() - 1);
            } else {
                JOptionPane.showMessageDialog(null, "Your budget is too low for the selected options! "
                        + "\nIf possbile, change to lower options or work on a side-project first!");
            }
            game.setPrice(cost);

        }
    }//GEN-LAST:event_addGame

    private void setType(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_setType
        updateProperties();
    }//GEN-LAST:event_setType

    private void setFocus(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_setFocus
        updateProperties();
    }//GEN-LAST:event_setFocus

    private void setLanguage(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_setLanguage
        updateProperties();
    }//GEN-LAST:event_setLanguage

    private void setPlatform(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_setPlatform
        updateProperties();
    }//GEN-LAST:event_setPlatform

    private void startGameDev(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_startGameDev
        if (Core.games.size() == 0) {
            JOptionPane.showMessageDialog(null, "No game to develop!");
        } else {


            if (Core.games.get(gameList.getSelectedIndex()).isDone() == true) {

                JOptionPane.showMessageDialog(null, "The selected game is allready finished!");

            } else {
                JFrame mainFrame = StartupCompanyManager2012App.getApplication().getMainFrame();
                gameWorker = new StartupCompanyManager2012gameWorker();
                gameWorker.setLocationRelativeTo(mainFrame);
                StartupCompanyManager2012App.getApplication().show(gameWorker);
                StartupCompanyManager2012View.updateBudgetLabel();
                dispose();
            }
        }
    }//GEN-LAST:event_startGameDev

    private void showGameInfo(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_showGameInfo
        if (Core.games.size() == 0) {
            JOptionPane.showMessageDialog(null, "No game to debug!");
        } else {

            JFrame mainFrame = StartupCompanyManager2012App.getApplication().getMainFrame();
            gameInfoBox = new StartupCompanyManager2012gameInfo();
            gameInfoBox.setLocationRelativeTo(mainFrame);
            StartupCompanyManager2012gameInfo.setSelected(gameList.getSelectedIndex());
            StartupCompanyManager2012App.getApplication().show(gameInfoBox);
        }
    }//GEN-LAST:event_showGameInfo

    private void selectLanguage() {

        if (languageButtonC.isSelected() == true) {
            language = Game.languages.get(0);
        }
        if (languageButtonCPlus.isSelected() == true) {
            language = Game.languages.get(1);
        }
        if (languageButtonFlash.isSelected() == true) {
            language = Game.languages.get(2);
        }
        if (languageButtonJava.isSelected() == true) {
            language = Game.languages.get(3);
        }
        if (languageButtonPHP.isSelected() == true) {
            language = Game.languages.get(4);
        }
        if (languageButtonPerl.isSelected() == true) {
            language = Game.languages.get(5);
        }
        if (languageButtonPython.isSelected() == true) {
            language = Game.languages.get(6);
        }
        if (languageButtonRuby.isSelected() == true) {
            language = Game.languages.get(7);
        }
        if (languageButtonVisualB.isSelected() == true) {
            language = Game.languages.get(8);
        }
    }

    private void selectPlatform() {

        if (platformButtonPC.isSelected() == true) {
            platform = Game.platforms.get(0);
        }
        if (platformButtonMac.isSelected() == true) {
            platform = Game.platforms.get(1);
        }
        if (platformButtonUniversal.isSelected() == true) {
            platform = Game.platforms.get(2);
        }
        if (platformButtonUnix.isSelected() == true) {
            platform = Game.platforms.get(3);
        }
        if (platformButtonSony.isSelected() == true) {
            platform = Game.platforms.get(4);
        }
        if (platformButtonAndroid.isSelected() == true) {
            platform = Game.platforms.get(5);
        }
        if (platformButtonXbox.isSelected() == true) {
            platform = Game.platforms.get(6);
        }
        if (platformButtoniOS.isSelected() == true) {
            platform = Game.platforms.get(7);
        }
        if (platformButtonNintendo.isSelected() == true) {
            platform = Game.platforms.get(8);

        }
    }

    /**
     * @param args the command line arguments
     */
    public static void init(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;


                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(StartupCompanyManager2012gameCreator.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(StartupCompanyManager2012gameCreator.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(StartupCompanyManager2012gameCreator.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(StartupCompanyManager2012gameCreator.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {

            public void run() {
                new StartupCompanyManager2012gameCreator().setVisible(true);
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton addButton;
    private javax.swing.JButton cancelButton;
    private javax.swing.JComboBox comboBoxFocus;
    private javax.swing.JComboBox comboBoxGenre;
    private javax.swing.JComboBox comboBoxType;
    private javax.swing.JSeparator creatorSeparator;
    private javax.swing.JButton devButton;
    private javax.swing.JLabel gameCost;
    private javax.swing.JPanel gameCreatorPanel;
    public static javax.swing.JList gameList;
    private javax.swing.JScrollPane gameListPane;
    private javax.swing.JTextField gameName;
    private javax.swing.JButton infoButton;
    private javax.swing.JLabel labeGenre;
    private javax.swing.JLabel labelBudget;
    private javax.swing.JLabel labelCost;
    private javax.swing.JLabel labelFocus;
    private javax.swing.JLabel labelLines;
    private javax.swing.JLabel labelName;
    private javax.swing.JLabel labelProgrammer;
    private javax.swing.JLabel labelType;
    private javax.swing.JRadioButton languageButtonC;
    private javax.swing.JRadioButton languageButtonCPlus;
    private javax.swing.JRadioButton languageButtonFlash;
    private javax.swing.JRadioButton languageButtonJava;
    private javax.swing.JRadioButton languageButtonPHP;
    private javax.swing.JRadioButton languageButtonPerl;
    private javax.swing.JRadioButton languageButtonPython;
    private javax.swing.JRadioButton languageButtonRuby;
    private javax.swing.JRadioButton languageButtonVisualB;
    private javax.swing.ButtonGroup languageGroup;
    private javax.swing.JPanel languagePanel;
    private javax.swing.JLabel linesGame;
    private javax.swing.JLabel liveBudget;
    private javax.swing.JRadioButton platformButtonAndroid;
    private javax.swing.JRadioButton platformButtonMac;
    private javax.swing.JRadioButton platformButtonNintendo;
    private javax.swing.JRadioButton platformButtonPC;
    private javax.swing.JRadioButton platformButtonSony;
    private javax.swing.JRadioButton platformButtonUniversal;
    private javax.swing.JRadioButton platformButtonUnix;
    private javax.swing.JRadioButton platformButtonXbox;
    private javax.swing.JRadioButton platformButtoniOS;
    private javax.swing.JPanel platformPanel;
    private javax.swing.JComboBox programmerSelectionBox;
    private javax.swing.JPanel propertiesPanel;
    private javax.swing.JPanel resourcePanel;
    private javax.swing.ButtonGroup systemGroup;
    // End of variables declaration//GEN-END:variables
    JFrame gameWorker = new JFrame();
    JFrame gameInfoBox = new JFrame();
}
